<template>
	<n-config-provider :theme="themeStore.naiveTheme" :locale="zhCN" :date-locale="dateZhCN">
		<naive-provider>
			<router-view />
		</naive-provider>
	</n-config-provider>
</template>

<script setup lang="ts">
import { subscribeStore, useThemeStore } from "@/store";
import { dateZhCN, zhCN } from "naive-ui";
const themeStore = useThemeStore();
subscribeStore();
</script>

<style scoped></style>
